<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%
//HttpServletResponse response = new HttpServletResponse(); 
Thread.sleep(1000);
response.sendRedirect("forwardto.jsp?userName=xxxx");
%>